import App from './App'
import ajax from "@/u_api/ajax.js"
// #ifndef VUE3
import Vue from 'vue'
import {request} from "@/utils/api.js";
import {intercept} from "@/utils/routerIntercept.js"
import isDate from '@/utils/upDate.js'
Vue.prototype.request=request
Vue.config.productionTip = false
App.mpType = 'app'
uni.$base_url = "http://ecampus.nfu.edu.cn:2929";
uni.$ajax = ajax;
uni.intercept = intercept;



isDate()

const app = new Vue({
    ...App
})
app.$mount()


// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'

export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif